<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户注册</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
    <script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="js/jquery.validate.js"></script>
	<script  language="javascript" type="text/javascript"  src="js/userRegister.js"></script> 
  </head>
  
  <body>
  <input id="result" name="result" value="${result}" type="hidden">
  <form  action="<%=basePath%>member/register" method="post" id="myform">
    <table width="200" border="1">
  <tr>
    <td>用户名：</td>
    <td>  <input type="text" class="required" title="请输入用户名" name="username" id="username" onblur="return checkUsername();"/>
            <span id="msgUsername" style="color:red;font-size:12px;">*</span>
    </td>
  </tr>
  <tr>
    <td>账号：</td>
    <td>  <input type="text" class="required" title="请输入账号"  name="userid" id="userid" onblur= "return checkUserid();" />
          <span id="msgUserId" style="color:red;font-size:12px;">*</span>
         
    </td>
  </tr>
  <tr>
    <td>密码：</td>
    <td>  <input type="password" class="required userpwd" title="请输入密码" name="userpwd" id="userpwd" />
           <span id="msgUserpwd" style="color:red;font-size:12px;">*</span>
    </td>
  </tr>
  <tr>
    <td>确认密码：</td>
    <td>  <input type="password" class="required confirm_password" title="请输入确认密码" name="confirm_password" id="confirm_password" onchange="return checkPasswd();" />
           <span id="msgConfirm_password" style="color:red;font-size:12px;">*</span>
    
    </td>
  </tr>
  <tr>
    <td>真实姓名：</td>
    <td>  <input type="text" name="realname" id="realname" /></td>
  </tr>
  <tr>
    <td>性别：</td>
    <td>  
          <input type="radio" value="1" checked="checked" name="sex" id="sex" />男
          <input type="radio" value="0" name="sex" id="sex" />女
     </td>
  </tr>
  <tr>
    <td>学院</td>
    <td>  <input type="text" name="college" id="college" /></td>
  </tr>
  <tr>
    <td>班级</td>
    <td>  <input type="text" name="userclass" id="userclass" /></td>
  </tr>
   <tr>
    <td>手机号</td>
    <td>  <input type="text"name="phone" id="phone" /></td>
  </tr> 
  <tr>
    <td>QQ</td>
    <td>  <input type="text"name="qq" id="qq" /></td>
  </tr>
  <tr>
    <td><input name="" type="submit" value="登录"/></td>
    <td><input name="" type="reset" value="重置"/></td>
  </tr>
  
</table>
</form>
  </body>
</html>
